{% extends "bugs/base.html" %}
{% block title %}Project select{% endblock %}
{% block content_title %}{% endblock %}
{% block globalconteiner %}
{% regroup project_list|dictsort:"category" by category as project_categorysed_list %}
<div  id="prjselect" Class="Center win" >
<H2>Project select</H2>
<ul>
  {% if project_categorysed_list %}    
  {% for project in project_categorysed_list %}
  <li><b>{{ project.grouper }}</b>
  <ul style="margin:0;padding:0;padding-left:8px;padding-bottom:6px;">
    {% for item in project.list %}
    <li><a href="{% url homesite.bugs.views.index item.norm_name %}">{{ item.name }}</a></li>
    {% endfor %}
  </ul>
  </li>
  {% endfor %}
  {% else %}
    <li>No projects avalible for you</li>
  {% endif %}
  <li>&nbsp</li>   
  <LI><A HRef="{% url django.contrib.auth.views.logout %}">Logout</A></li> 
</ul>
</div>
{% endblock %}
